package com.liuqi.loggers.api;

/**
 * 获取日志实例工厂类
 *
 * @author liuqi
 * @date 2024/10/14 15:20
 **/
public class LoggerFactory {

    public static Logger getLogger(String name) {
        return ContextBinder.getContext().getLogger(name);
    }

    public static Logger getLogger(Class<?> clazz) {
        return getLogger(clazz.getName());
    }

}
